<?php
function advpoll_binary_node_form_form_alter(&$form, &$form_state, $form_id) {
  //print_pre($form);
  $form['body_field']['body']['#rows'] = 10;
  $form['body_field']['format'][1]['#default_value'] = 3;
  $form['body_field']['format'][2]['#default_value'] = 3;
  $form['body_field']['format'][3]['#default_value'] = 3;
  /*
  $form['menu']['#access'] = FALSE;
  $form['revision_information']['#access'] = FALSE;
  $form['path']['#access'] = FALSE;
  $form['comment_settings']['#access'] = FALSE;
  $form['author']['#access'] = FALSE;
  $form['options']['#access'] = FALSE;
  */
  $form['settings']['#collapsed'] = FALSE;

  $form['#redirect'][] = 'ballot/list/self';
  unset($form['buttons']['preview']);
}